home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
3863
/
3863.xpi
/
chrome
/
imacros.jar
/
content
/
rec.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-24
|
10KB
|
277 lines
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://imacros/skin/imacros.css" type="text/css"?>
<?xml-stylesheet href="chrome://imacros/skin/sidebar.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://imacros/locale/labels.dtd">
<window id="Recorder" title="&imacros.window.recorder;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript"
src="chrome://imacros/content/version.js" />
<script type="application/x-javascript"
src="chrome://imacros/content/utils.js" />
<!-- TreeView control code -->
<script type="application/x-javascript"
src="chrome://imacros/content/TreeView.js" />
<!-- Popup menu -->
<popup id="my_popup" onpopupshowing="MPopup_onShowing(event);">
<menuitem id="addbookmark" label="&imacros.menuitem.addbookmark;"
oncommand="MPopup_AddBookmark('0');"
flex="1" />
<menuitem id="editmacro" label="&imacros.button.edit.macro;"
oncommand="MPopup_EditMacro();"
flex="1" />
<menuitem id="newfolder"
label="&imacros.menuitem.new.folder;"
oncommand="MPopup_CreateFolder();"
flex="1" />
<menuitem id="renameitem"
label="&imacros.menuitem.rename;"
oncommand="MPopup_renameItem();"
flex="1" />
<menuitem id="remove"
label="&imacros.menuitem.remove;"
oncommand="MPopup_removeItem();"
flex="1" />
</popup>
<vbox id="boxstat" height="32">
<label id="replaystat" value="" flex="1"/>
<label id="delaystat" value="" flex="1"/>
</vbox>
<vbox id="boxlistbox" collapsed="true" flex="1">
<listbox id="listbox" flex="1"/>
</vbox>
<tree id="treeview"
seltype="single"
hidecolumnpicker="true"
flex="1"
onselect="MTree_onSelect();"
ondblclick="MTree_onDblClick(event);"
>
<treecols>
<treecol id="ims-mtree-col"
hideheader="true"
flex="1"
primary="true"
/>
</treecols>
<treechildren flex="1"
contextmenu="my_popup"
>
<treeitem container="true"
open="true">
<treerow>
<treecell id="ims-mtree-root"
label="&imacros.treecell.favorites;" />
</treerow>
<treechildren flex="1" id="favtree"/>
</treeitem>
</treechildren>
</tree>
<!--Rename option -->
<hbox>
<textbox id="editname"
onkeypress="onEditKeypress(event)"
flex="1" collapsed="true" />
<button id="im-rename-button" label="&imacros.button.rename;"
collapsed="true"
oncommand="MTree_renameItem();" />
</hbox>
<!--Main tabs -->
<hbox id="mainpanel">
<spacer flex="1"/>
<vbox width="150px">
<tabbox id="im-tabbox">
<tabs id="im-tabs" >
<tab id="im-play-tab" label="&imacros.tab.play;" flex="1"/>
<tab id="im-record-tab" label="&imacros.tab.rec;" flex="1"/>
<tab id="im-edit-tab" label="&imacros.tab.edit;" flex="1"/>
</tabs>
<tabpanels id="im-tabpanels" flex="1">
<!--Play panel-->
<tabpanel id="im-play-panel" orient="vertical">
<stack >
<box id="im-play-button-decoration"/>
<button id="im-play-button"
label="&imacros.button.play;"
disabled="true"
oncommand="mainwindow.playunlooped();" />
</stack>
<button id="im-pause-button"
label="&imacros.button.pause;"
oncommand="mainwindow.pause();"
disabled="true"/>
<button id="im-stopplay-button"
label="&imacros.button.stop;"
oncommand="mainwindow.stop();"
disabled="true"/>
<separator class="thin"/>
<vbox>
<label value="&imacros.label.repeat.macro;"/>
<grid flex="1">
<columns>
<column flex="1"/>
<column flex="1"/>
</columns>
<rows>
<row>
<label value="&imacros.label.current;"/>
<label value="&imacros.label.max;"/>
</row>
<row>
<textbox id="im-curloop-textbox"
value="1" disabled="true"/>
<textbox id="im-loopval-textbox" value="3"
maxlength="5"
oninput="mainwindow.im_panel.onLoopValueInput();"
onchange="mainwindow.im_panel.onLoopValueChange();"
/>
</row>
</rows>
</grid>
<button id="im-playloop-button"
label="&imacros.button.play.loop;"
oncommand="mainwindow.playloop();"
disabled="true"/>
</vbox>
<spacer height="10px"/>
<deck id="logo-message-deck" selectedIndex="1">
<vbox id="message-box-container" flex="1">
<box id="imacros-messages" flex="1">
<textbox id="imacros-message-box" flex="1"
value="&imacros.message.error;"
class="plain"
readonly="true"
msgtype="message"
multiline="true" />
</box>
<hbox id="message-box-buttons-container">
<toolbarbutton id="message-box-button-edit"
oncommand="mainwindow.im_panel.mboxEdit();"/>
<toolbarbutton id="message-box-button-help"
oncommand="mainwindow.im_panel.mboxHelp()"/>
<toolbarbutton id="message-box-button-close"
oncommand="mainwindow.im_panel.mboxClose()"/>
</hbox>
</vbox>
<vbox id="mainlogo-container">
<hbox pack="center">
<image id="mainlogo"/>
</hbox>
<hbox pack="center" id="imacros-si-info" collapsed="true">
<label id="imacros-si-text"
class="text-link"
value=""
href=""/>
</hbox>
</vbox>
</deck>
</tabpanel>
<!--Record panel -->
<tabpanel id="im-record-panel" orient="vertical">
<stack>
<box id="im-record-button-decoration"/>
<button id="im-record-button"
label="&imacros.button.record;"
oncommand="mainwindow.rec();" />
</stack>
<button id="im-save-button" label="&imacros.button.save;"
oncommand="mainwindow.save();"
disabled="true"/>
<button id="im-load-button" label="&imacros.button.load;"
oncommand="mainwindow.load();"/>
<button id="im-stoprecord-button" label="&imacros.button.stop;"
oncommand="mainwindow.stop();"
disabled="true"/>
<spacer flex="1" />
<vbox>
<hbox>
<button id="im-clickpanel-button" flex="1"
label="&imacros.button.options.click;"
oncommand="mainwindow.openClickPanel();" />
<vbox align="center" pack="center">
<label id="im-clickmode-label" value="Auto"/>
</vbox>
</hbox>
<button id="im-saveas-button" label="&imacros.button.saveas;"
oncommand="mainwindow.savePageAs();"/>
<button id="im-screenshot-button" label="Take Screenshot"
oncommand="mainwindow.takeScreenshot();"/>
<button id="im-cleancache-button"
label="&imacros.button.del.cache.c1;"
oncommand="mainwindow.clearCookies();"/>
<button id="im-waitreplay-button"
label="&imacros.button.wait.during0;"
oncommand="mainwindow.addWaitTag();"
disabled="true"/>
</vbox>
</tabpanel>
<!-- Edit and options panel -->
<tabpanel id="im-edit-panel" orient="vertical">
<button id="im-edit-button"
label="&imacros.button.edit.macro;"
disabled="true"
oncommand="mainwindow.steps();"/>
<button id="im-share-button"
label="&imacros.button.share.macro;"
disabled="true"
oncommand="mainwindow.share();"/>
<button id="im-refresh-button" crop="end"
label="&imacros.button.refresh.mac2;"
oncommand="mainwindow.refreshTree();"/>
<!--spacer height="5"/> -->
<button id="im-preferences-button"
label="&imacros.button.options;"
oncommand="mainwindow.options();"/>
<button id="im-help-button" label="&imacros.button.help;"
oncommand="mainwindow.redirect3();"/>
<spacer flex="1"/>
<vbox>
<hbox>
<spacer flex="1"/>
<label id="for_3" align="center"
value="&imacros.label.imacros.for.3;"/>
<spacer flex="1"/>
</hbox>
<hbox>
<spacer flex="1"/>
<image id="mainlogo_1"/>
<spacer flex="1"/>
</hbox>
<hbox>
<spacer flex="1"/>
<label align="center"
value="&imacros.label.home.page;"
class="text-link"
href="http://www.iopus.com/imacros/firefox/?ref=fxhome"
/>
<spacer flex="1"/>
</hbox>
<hbox>
<spacer flex="1"/>
<label align="center"
value="&imacros.label.about.iopus;"
class="text-link"
href="http://forum.iopus.com/viewforum.php?f=11"/>
<spacer flex="1"/>
</hbox>
</vbox>
</tabpanel>
</tabpanels>
</tabbox>
</vbox>
<spacer flex="1"/>
</hbox>
</window>